package org.codingeasy.streamrecord.core.processor;

import org.codingeasy.streamrecord.core.CurrentContext;
import org.codingeasy.streamrecord.core.annotation.Record;

/**
 * 日志模版内容解析器，用于处理{@link Record#value()}
 *
 * @author hukangning
 */
@FunctionalInterface
public interface TemplateResolve {

  /**
   * 解析日志内容模版
   * @param currentContext
   * @return
   */
  String doResolve(CurrentContext currentContext);
}
